Adwaita: Make treeexpander styling generic
authornana-4 <hnmaigo@gmail.com>
Sun, 22 Nov 2020 03:08:39 +0000 (12:08 +0900)
committerJakub Steiner <jimmac@gmail.com>
Mon, 23 Nov 2020 09:51:58 +0000 (10:51 +0100)
The widget can be used outside .navigation-sidebar.

This also fixes the label misalignment in the widget.

gtk/theme/Adwaita/_common.scss

index 2e90668ddfc794ecb346839fa61369f9dfe2aed0..a5074872beb2e1603e0cda80298d6bc7777455e9 100644 (file)
@@ -3311,6 +3311,10 @@ columnview {
   }
 }
 
+treeexpander {
+  border-spacing: 4px;
+}
+
 /********************************************************
  * Data Tables                                          *
  * treeview like tables with individual focusable cells *
@@ -3602,12 +3606,6 @@ separator.sidebar {
     // will make the animation of the new bookmark row jump
     > revealer { padding: 0 14px; }
 
-    expander {
-      margin: 0 8px 0 0;
-
-      &:dir(rtl) { margin: 0 0 0 8px; }
-    }
-
     &:selected {
       background-color: $menu_selected_color;
       color: $fg_color;